/**
*@Author: QWP
*@Description: 企业风险相关接口
*@Date 2024-08-06 19:04
*/
import request from '@/http'

// 分页列表查询
export const page = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tUnitRisk/page',
    data: data,
  })
}

// 单体查询
export const query = async (id: String) => {
  return await request.get({
    url: '/api/bizz/tUnitRisk/details/' + id,
  })
}

// 导出
export const download = async (data: object) => {
  return await request.download1({
    url: '/api/bizz/tUnitRisk/export',
    data
  })
}
